﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Admin.aspx.cs" Inherits="EnglishAuction.Admin" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <link href="css/style.css" rel="stylesheet" />
    <link href="css/khoi.css" rel="stylesheet" />
    <link href="css/thuong.css" rel="stylesheet" />
    <link href="css/jquery-ui-1.9.2.custom.css" rel="stylesheet" />
    <script src="script/jquery-1.8.3.js"></script>
    <script src="script/jquery-ui-1.9.2.custom.js"></script>
    <script src="script/script.js"></script>
    <script src="script/jquery.blockUI.js"></script>
    <link href="css/gh-buttons.css" rel="stylesheet" />
    <title>Đăng nhập quản trị
    </title>
    <style type="text/css">
        .ui-widget {
            font-size: 13px !important;
            font-family: Arial;
        }

        .ui-state-error-text {
            margin-left: 10px;
            color: red;
        }
    </style>
    <script type="text/javascript">
        $(document).ready(function () {
            $("#dialog-message").dialog({
                autoOpen: false,
                modal: true,
                minHeight: 20,
                height: 'auto',
                width: '400',
                resizable: false,
                buttons: {
                    Ok: function () {
                        $(this).dialog("close");
                    }
                },
            });


        });

        function closeDialog() {
            //Could cause an infinite loop because of "on close handling"
            $("#dialog-message").dialog('close');
        }

        function openDialog() {
            $("#dialog-message").dialog('open');
        }

        function setError(error) {
            $("#txtErrorMesseage").html(error);
        }

    </script>
</head>
<body style="background: url(images/main.jpg) center 0 repeat;">
    <br />
    <br />
    <br />
    <div class="login" style="font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;">
        <div style="color: red; text-align: center; padding-top: 5px;">
            <asp:Label ID="lbThongBao" runat="server" Width="100%">
            </asp:Label>
        </div>
        <br />
        <div style="font-size: 25px; margin-left: 3%; margin-right: 3%;">
            Quản trị hệ thống
        </div>
        <hr style="border-style: inset; border-width: 1px; width: 95%;" />
        <form id="login" runat="server">

            <br />
            <table style="width: 100%;" cellpadding="2">
                <tr>
                    <td>&nbsp;
                    </td>
                    <td>
                        <asp:Label ID="loginError" runat="server" ForeColor="Red" Visible="false" Font-Bold="true" />
                        <asp:ValidationSummary ID="ValidationSummary1" runat="server" ForeColor="Red" DisplayMode="List" Font-Bold="true" Style="display: none;" />
                    </td>
                </tr>
                <tr>
                    <td style="text-align: right; width: 30%;">Tên đăng nhập:
                    </td>
                    <td>
                        <asp:TextBox ID="txtUsername" runat="server" CssClass="inputlenght" MaxLength="32"></asp:TextBox>
                        <asp:RequiredFieldValidator ControlToValidate="txtUsername" ID="RequiredFieldValidator1" runat="server" ErrorMessage="- Tên đăng nhập không được rỗng." Text="&nbsp" SetFocusOnError="true"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td style="text-align: right;">Mật khẩu:
                    </td>
                    <td>
                        <asp:TextBox ID="txtPassword" runat="server" CssClass="inputlenght" TextMode="Password" MaxLength="32"></asp:TextBox>
                        <asp:RequiredFieldValidator ControlToValidate="txtPassword" ID="RequiredFieldValidator2" runat="server" ErrorMessage="- Mật khẩu không được rỗng." Text="&nbsp" SetFocusOnError="true"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td></td>
                    <td>
                        <asp:Button ID="btnLogin" runat="server" CssClass="button primary" Text="Ðăng nhập" OnClick="btnLogin_Click" />
                    </td>

                </tr>
                <tr>
                    <td colspan="2">&nbsp;
                    </td>
                </tr>
            </table>
        </form>
    </div>
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
</body>
</html>
